<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta http-equiv="refresh" content="1">
<title>user</title>
<?
 include 'config.inc.php';
   $member_users = mysql_query("SELECT * FROM ssc_members");
  while($user = mysql_fetch_array($member_users)){
     $chat_member_users = mysql_query("SELECT * FROM wwk_chat_user WHERE username='{$user['username']}'");
     $chat_users = mysql_fetch_array($chat_member_users);
      if($chat_users['username'] == ''){
		echo '已经成功更新会员信息: '.$user['username'].'<br>';
		  if($user['chatpassword'] == ''){
		  mysql_query("INSERT INTO wwk_chat_user (username,password,img,vip) VALUES ('{$user['username']}','{$user['username']}','/images/img/members_img.jpg','1')");
		  }else{
		  mysql_query("INSERT INTO wwk_chat_user (username,password,img,vip) VALUES ('{$user['username']}','{$user['username']}','/images/img/members_img.jpg','1')");
		  }
	  }else{
	    echo '暂时没有检测到新的会员信息';
	  }
  }



?>